<!DOCTYPE html>
<html lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <!-- Meta, title, CSS, favicons, etc. -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>评价后台系统</title>
    <!-- Bootstrap -->
    <link href="/static/evaluate/css/bootstrap.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link href="/static/evaluate/css/font-awesome.min.css" rel="stylesheet">
    <!-- NProgress -->
    <link href="/static/evaluate/css/admin/nprogress.css" rel="stylesheet">
    <!-- iCheck -->
    <link href="/static/evaluate/css/admin/green.css" rel="stylesheet">
	
    <!-- bootstrap-progressbar -->
    <link href="/static/evaluate/css/admin/bootstrap-progressbar-3.3.4.min.css" rel="stylesheet">
    <!-- JQVMap -->
    <link href="/static/evaluate/css/admin/jqvmap.min.css" rel="stylesheet"/>
    <!-- bootstrap-daterangepicker -->
    <link href="/static/evaluate/css/admin/daterangepicker.css" rel="stylesheet">

    <!-- Custom Theme Style -->
    <link href="/static/evaluate/css/admin/custom.min.css" rel="stylesheet">
    <link href="/static/evaluate/css/admin/adminChange.css" rel="stylesheet">
       
    <!--[if lt IE 9]>
      <script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>
      <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <script src="/static/evaluate/js/jquery.js"></script>
    <!-- Bootstrap -->
    <script src="/static/evaluate/js/bootstrap.js"></script>
    <script src="/static/evaluate/js/html2canvas.js"></script>
    <script src="/static/evaluate/js/jsPdf.debug.js"></script>
    {% block staticS%}{% endblock%}
  </head>

  <body class="nav-md">
    <div class="container body">
      <div class="main_container">
        <div class="col-md-3 left_col">
          <div class="left_col scroll-view">
            <div class="navbar nav_title" style="border: 0;">
              <a href="{% url 'admin_index' %}" class="site_title">
               <img src="/static/evaluate/img/gxu.jpg"  alt="..." class=" img-circle profile_img system_school">
               <span>广西大学</span>
               </a>
            </div>

            <div class="clearfix"></div>

            <!-- menu profile quick info -->
            <div class="profile clearfix">
              <div class="profile_pic system_name">
                <h2>师生评价管理平台</h2>
              </div>
              <div class="profile_info">
               
              </div>
            </div>
            <!-- /menu profile quick info -->

            <br />

            <!-- sidebar menu -->
            <div id="sidebar-menu" class="main_menu_side hidden-print main_menu">
              <div class="menu_section">
                <h3>当年数据报表</h3>
                <ul class="nav side-menu">
                <!--侧边导航第一部分-->
                 <li>
                    <a>
                      <i class="fa fa-bar-chart-o"></i>学生学期总体评价<span class="fa fa-chevron-down"></span>
                    </a>
                    <ul class="nav child_menu">
                      <li><a href="{% url 's_enviroment_totality' %}">总体评价</a></li>
                      <li><a href="{% url 's_enviroment_teching' %}">教学环境</a></li>
                      <li><a href="{% url 's_enviroment_accommodation' %}">住宿环境</a></li>
                      <li><a href="{% url 's_enviroment_diet' %}">饮食环境</a></li>
                    </ul>
                  </li>
                  <li><a><i class="fa fa-bar-chart-o"></i>学生对校内机构的评价<span class="fa fa-chevron-down"></span></a>
                    <ul class="nav child_menu">
                      <li><a href="{% url 's_enviroment_o_total' %}">总体情况</a></li>
                      <li><a href="{% url 'advice_show' %}">推送的建议</a></li>
                    </ul>
                  </li>
                  <li><a><i class="fa fa-bar-chart-o"></i>教师对校内机构的评价<span class="fa fa-chevron-down"></span></a>
                    <ul class="nav child_menu">
                      <li><a href="{% url 't_enviroment_o_total' %}">总体情况</a></li>
                      <li><a href="{% url 'advice_show' %}">推送的建议</a></li>
                    </ul>
                  </li>
                  <li><a><i class="fa fa-bar-chart-o"></i>教师教学质量评估<span class="fa fa-chevron-down"></span></a>
                    <ul class="nav child_menu">
                      <li><a href="{% url 'teacher_grade_table' %}">总体情况</a></li>
                      
                    </ul>
                  </li>
                  <li><a><i class="fa fa-bar-chart-o"></i>下载报表<span class="fa fa-chevron-down"></span></a>
                    <ul class="nav child_menu">
                      <li><a href="javascript:;">PDF图表</a></li>
            
                    </ul>
                  </li>
                </ul>
              </div>
              <div class="menu_section">
                <h3>历年数据查询与对比</h3>
                <ul class="nav side-menu">
                  <li><a><i class="fa fa-line-chart"></i>教师教学质量评估<span class="fa fa-chevron-down"></span></a>
                    <ul class="nav child_menu">
                      <li><a href="{% url 'search' %}" >查询</a></li>
                      <!--<li><a href="javascript:;">总体对比</a></li>-->
                    </ul>
                  </li>
                  <li><a><i class="fa fa-line-chart"></i> 学生热点问题 <span class="fa fa-chevron-down"></span></a>
                    <ul class="nav child_menu">
                      <li><a href="{% url 'search' %}6"  >查询</a></li>
                      <!--<li><a href="javascript:;" data-toggle="modal" data-target="#line" >热点问题对比</a></li>-->
                    </ul>
                  </li>
                  <li><a><i class="fa fa-line-chart"></i> 组织机构服务评估 <span class="fa fa-chevron-down"></span></a>
                    <ul class="nav child_menu">
                      <li><a href="{% url 'search' %}8" >查询</a></li>
                      <!--<li><a href="javascript:;" data-toggle="modal" data-target="#line" >热点问题对比</a></li>-->
                    </ul>
                  </li>                  
                </ul>
              </div>
              <div class="menu_section">
                <h3>系统操作</h3>
                <ul class="nav side-menu">
                  <li><a><i class="fa fa-bug"></i> 设置 <span class="fa fa-chevron-down"></span></a>
                    <ul class="nav child_menu">
                      <li><a href="/evaluate/opend_evaluate_index/"  id="open-function">启动评价系统</a></li>
                      <li><a href="{% url 'add_admin' %}">增加管理员</a></li>
                      <li><a href="{% url 'c_admin_pwd' %}">更改密码</a></li>
                    </ul>
                  </li>
                  <li><a><i class="fa fa-windows"></i> 启动数据分析 <span class="fa fa-chevron-down"></span></a>
                    <ul class="nav child_menu">
                      <li><a href="{% url 'count_evaluation_index' %}"  >本地离线计算</a></li>
                      <!--<li><a href="javascript:;" data-toggle="modal" data-target="#line" >集群计算</a></li>-->
                    </ul>
                  </li>                  
                  <li><a href="{%url 'admin_index' %}"><i class="fa fa-home"></i> 首页 </a></li>
                </ul>
              </div>

            </div>
            <!-- /sidebar menu -->

            <!-- /menu footer buttons -->
          
            <!-- /menu footer buttons -->
          </div>
        </div>

        <!-- top navigation -->
        <div class="top_nav">
          <div class="nav_menu">
            <nav>
              <div class="nav toggle">
                <a id="menu_toggle"><i class="fa fa-bars"></i></a>
              </div>

              <ul class="nav navbar-nav navbar-right">
                <li class="">
                  <a href="javascript:;" class="user-profile dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
                    <i class="fa fa-4x fa-user " style="font-size:23px;"></i>{{u_type}}
                    <span class=" fa fa-angle-down"></span>
                  </a>
                  <ul class="dropdown-menu dropdown-usermenu pull-right">
                    <li><a href="{% url 'c_admin_pwd' %}">设置</a></li>
                    
                    <li><a href="javascript:;" data-toggle="modal" data-target="#adminHelpe">帮助</a></li>
                    <li><a href="{% url 'admin_login' %}"><i class="fa fa-sign-out pull-right"></i> 退出</a></li>
                  </ul>
                </li>

                <li role="presentation" class="dropdown">
                  <a href="javascript:;" class="dropdown-toggle info-number" data-toggle="dropdown" aria-expanded="false">
                    <i class="fa fa-envelope-o"></i>
                    <span class="badge bg-green">0</span>
                  </a>
                  <ul id="menu1" class="dropdown-menu list-unstyled msg_list" role="menu">
                    <li>
                      <a>
                        <span>
                          <span>暂无</span>
                        </span>
                        <span class="message">
                        </span>
                      </a>
                    </li>
                    
                  </ul>
                </li>
              </ul>
            </nav>
          </div>
        </div>
        <!-- /top navigation -->

        <!-- page content -->
        <div class="right_col" role="main">
        <!--右侧内容-->
        <div >
          {% if now_term == 'not'  %}
          <span style="font-size: 20px;font-weight: 200;">系统对外关闭中，当前统计数据为{{lately_term}}</span>
          {% else %}
          <span style="font-size: 20px;font-weight: 200;">{{now_term}} &nbsp;&nbsp;数据采集中，当前统计数据为&nbsp;&nbsp;{{lately_term}}</span>
          {% endif %}
        <div>
        {%block right_views%}{%endblock%}
        </div>
        <!-- /page content -->

        <!-- footer content -->
        <footer>
          <div class="pull-right">
           校园互动评价平台-评价后台<a href="https://colorlib.com">@gxu</a>
          </div>
          <div class="clearfix"></div>
        </footer>
        <!-- /footer content -->
      </div>
    </div>
    <!--帮助模态框-->
    <div class="modal fade" id="adminHelpe" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
      <div class="modal-dialog" style="width:1000px">
        <div class="modal-content">
          <div class="modal-header">
              <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title" id="myModalLabel">告用户</h4>
          </div>
          <div class="modal-body">
              启动离线计算时，将随机产生评价数据！谢谢您
          </div>
          <div class="modal-footer">
            <button type="button" class="btn btn-primary" data-dismiss="modal">关闭</button>
          </div>
        </div><!-- /.modal-content -->
      </div><!-- /.modal-dialog -->
    </div>
    
     <!--开启系统集群计算模态框-->
    <div class="modal fade" id="line" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
      <div class="modal-dialog" style="width:1000px">
        <div class="modal-content">
          <div class="modal-header">
              <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title" id="myModalLabel"></h4>
          </div>
          <div class="modal-body">
              功能开发中，敬请期待！
              <i class="fa fa-cog fa-spin fa-3x fa-fw"></i>
              <span class="sr-only">Loading...</span>
          </div>
          <div class="modal-footer">
            <button type="button" class="btn btn-primary" data-dismiss="modal">关闭</button>
          </div>
        </div><!-- /.modal-content -->
      </div><!-- /.modal-dialog -->
    </div>
    </div>
   
    <!-- bootstrap-progressbar -->
    <script src="/static/evaluate/js/admin/bootstrap-progressbar.min.js"></script>
    <script src="/static/evaluate/js/admin/validator.js"></script>
  

    <!-- Custom Theme Scripts -->
    <script src="/static/evaluate/js/admin/custom.min.js"></script>
	 {%block js%}{%endblock%}
  </body>
</html>
